package com.zbest.common.lang.enums;

import java.io.Serializable;

import com.zbest.common.lang.base.AbstractCodedEnum;
import com.zbest.common.lang.base.AbstractEnum;

/**
 * 公司提供的服务编码<br/>
 *
 * Created by wu.charles on 2014/12/10.
 */
public final class SystemCode extends AbstractCodedEnum implements Serializable {
    private static final long serialVersionUID = -8627571253482855889L;

    public static final SystemCode DEFAULT = new SystemCode("DEFAULT", "000", "默认系统");

    public static final SystemCode TRADE = new SystemCode("TRADE", "001", "交易");

    public static final SystemCode PAYCORE = new SystemCode("PAYCORE", "002", "支付中心");

    public static final SystemCode GW = new SystemCode("GW", "003", "网关");

    public static final SystemCode ACCTRANS = new SystemCode("ACCTRANS", "004", "账务系统");

    public static final SystemCode CHARGE = new SystemCode("CHARGE", "005", "BOSS系统");
    
    public static final SystemCode CIF = new SystemCode("CIF", "006", "会员核心");

    public static final SystemCode APISERVER = new SystemCode("APISERVER", "007", "api服务");

    protected SystemCode() {
        ; // 解决反序列化无法构造新实例的问题！！
    }

    private SystemCode(String name, String code, String desc) {
        super(name, code, desc);
    }

    @Override
    protected Class<? extends AbstractEnum> getEnumType() {
        return SystemCode.class;
    }
}
